﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>WashingMachine: StateForge::Examples::WashingMachine::WashingMachineTest Class Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                C# examples using state machines generated by StateBuilderDotNet
            </h1>
            <h3>
                WashingMachine: StateForge::Examples::WashingMachine::WashingMachineTest Class Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_state_forge.html">StateForge</a>      </li>
      <li class="navelem"><a class="el" href="namespace_state_forge_1_1_examples.html">Examples</a>      </li>
      <li class="navelem"><a class="el" href="namespace_state_forge_1_1_examples_1_1_washing_machine.html">WashingMachine</a>      </li>
      <li class="navelem"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html">WashingMachineTest</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">StateForge::Examples::WashingMachine::WashingMachineTest Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="StateForge::Examples::WashingMachine::WashingMachineTest" -->
<p><a href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a3c6e85700ad3ad20874e04330780feec">Setup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#acb753b2ac77e092c851fc004fcaf06bf">EvStart_EvFault_EvDiagnoseSuccess_EvWashingDone</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a5b701a48749dce19c917d4fb7e3b163d">EvStart_EvWashingDone_EvFault_EvDiagnoseSuccess_EvRinsingDone</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a89ce9f7fbdcedb63c9d0c159f295cd84">EvStart_EvWashingDone_EvRinsingDone_EvFault_EvDiagnoseSuccess_EvSpinningDone</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine.html">WashingMachine</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">MockRepository&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IObserver&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a> = &quot;WashingMachineContext&quot;</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00010">10</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="acb753b2ac77e092c851fc004fcaf06bf"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::EvStart_EvFault_EvDiagnoseSuccess_EvWashingDone" ref="acb753b2ac77e092c851fc004fcaf06bf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::WashingMachine::WashingMachineTest::EvStart_EvFault_EvDiagnoseSuccess_EvWashingDone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00027">27</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Ordered())
                {
                    <span class="comment">// this.washingMachine.Start();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Idle&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;Washing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;Start&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <span class="stringliteral">&quot;Running&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.Fault();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Washing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;OutOfService&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;Fault&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <span class="stringliteral">&quot;Running&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.DiagnoseSuccess();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;OutOfService&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;Washing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;DiagnoseSuccess&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <span class="stringliteral">&quot;Running&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.WashingDone();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Washing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;Rinsing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;WashingDone&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Start();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Fault();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.DiagnoseSuccess();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.WashingDone();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a5b701a48749dce19c917d4fb7e3b163d"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::EvStart_EvWashingDone_EvFault_EvDiagnoseSuccess_EvRinsingDone" ref="a5b701a48749dce19c917d4fb7e3b163d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::WashingMachine::WashingMachineTest::EvStart_EvWashingDone_EvFault_EvDiagnoseSuccess_EvRinsingDone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00077">77</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Start();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Ordered())
                {
                    <span class="comment">//this.washingMachine.WashingDone();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Washing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;Rinsing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;WashingDone&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.Fault();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Rinsing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;OutOfService&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;Fault&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <span class="stringliteral">&quot;Running&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.DiagnoseSuccess();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;OutOfService&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;Rinsing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;DiagnoseSuccess&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <span class="stringliteral">&quot;Running&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.RinsingDone();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Rinsing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;Spinning&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;RinsingDone&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.WashingDone();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Fault();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.DiagnoseSuccess();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.RinsingDone();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a89ce9f7fbdcedb63c9d0c159f295cd84"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::EvStart_EvWashingDone_EvRinsingDone_EvFault_EvDiagnoseSuccess_EvSpinningDone" ref="a89ce9f7fbdcedb63c9d0c159f295cd84" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::WashingMachine::WashingMachineTest::EvStart_EvWashingDone_EvRinsingDone_EvFault_EvDiagnoseSuccess_EvSpinningDone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00128">128</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Start();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.WashingDone();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Ordered())
                {
                    <span class="comment">//this.washingMachine.RinsingDone();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Rinsing&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;Spinning&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;RinsingDone&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.Fault();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Spinning&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;OutOfService&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;Fault&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <span class="stringliteral">&quot;Running&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.DiagnoseSuccess();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;OutOfService&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;Spinning&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;DiagnoseSuccess&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <span class="stringliteral">&quot;Running&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));

                    <span class="comment">//this.washingMachine.SpinningDone();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a> = <span class="stringliteral">&quot;Spinning&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a> = <span class="stringliteral">&quot;End&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a> = <span class="stringliteral">&quot;SpinningDone&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <span class="stringliteral">&quot;Running&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.RinsingDone();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.Fault();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.DiagnoseSuccess();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a>.SpinningDone();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a3c6e85700ad3ad20874e04330780feec"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::Setup" ref="a3c6e85700ad3ad20874e04330780feec" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::WashingMachine::WashingMachineTest::Setup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00019">19</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a> = <span class="keyword">new</span> MockRepository();
            <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">observer</a> = <a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">repository</a>.StrictMock&lt;IObserver&gt;();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">washingMachine</a> = <span class="keyword">new</span> WashingMachine();
        }
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="afc21a1241e82ada52ffd0219e04b39ae"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::contextName" ref="afc21a1241e82ada52ffd0219e04b39ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#afc21a1241e82ada52ffd0219e04b39ae">StateForge::Examples::WashingMachine::WashingMachineTest::contextName</a> = &quot;WashingMachineContext&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00015">15</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a84cab7e445c1aad75c9b68339ec7b63d"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::current" ref="a84cab7e445c1aad75c9b68339ec7b63d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a84cab7e445c1aad75c9b68339ec7b63d">StateForge::Examples::WashingMachine::WashingMachineTest::current</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00016">16</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a46606a5375f07bd68d6ca9577b5910e3"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::next" ref="a46606a5375f07bd68d6ca9577b5910e3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a46606a5375f07bd68d6ca9577b5910e3">StateForge::Examples::WashingMachine::WashingMachineTest::next</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00016">16</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a6037610d93cb3d0544d700bf9ff95f85"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::observer" ref="a6037610d93cb3d0544d700bf9ff95f85" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IObserver <a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a6037610d93cb3d0544d700bf9ff95f85">StateForge::Examples::WashingMachine::WashingMachineTest::observer</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00014">14</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a80488c3447d54365ecab6c018b87e6ab"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::repository" ref="a80488c3447d54365ecab6c018b87e6ab" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MockRepository <a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a80488c3447d54365ecab6c018b87e6ab">StateForge::Examples::WashingMachine::WashingMachineTest::repository</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00013">13</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac1180b80f01f1bbc8967ee61af5de5e6"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::transition" ref="ac1180b80f01f1bbc8967ee61af5de5e6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#ac1180b80f01f1bbc8967ee61af5de5e6">StateForge::Examples::WashingMachine::WashingMachineTest::transition</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00016">16</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a9b0d856ba5b2dfb58a8e02049bd61d40"></a><!-- doxytag: member="StateForge::Examples::WashingMachine::WashingMachineTest::washingMachine" ref="a9b0d856ba5b2dfb58a8e02049bd61d40" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine.html">WashingMachine</a> <a class="el" href="class_state_forge_1_1_examples_1_1_washing_machine_1_1_washing_machine_test.html#a9b0d856ba5b2dfb58a8e02049bd61d40">StateForge::Examples::WashingMachine::WashingMachineTest::washingMachine</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_washing_machine_test_8cs_source.html#l00012">12</a> of file <a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Test/WashingMachineTest/<a class="el" href="_washing_machine_test_8cs_source.html">WashingMachineTest.cs</a></li>
</ul>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
